var userInfos = [];
var markers = [];
var selectPosition = [];

$(document).ready(function() {
    showLoading();
    $('title', parent.document).html($('title').text());
    setBaseUrl();
    addTitle("chargingStationDetails");
    search();
});

function search(){
	$('#UserID').val($("#detailID", parent.document).val());
	$ajax('searchUser', 'searchUserManageDetail', searchUserManage);
	$("#detailID", parent.document).val("");
}
function searchUserManage(data) {
	userInfos = data && data.userInfos || [];
	createDetailUlBody("detailOneBody", userManageDetailTable, userInfos[0], 1);
	createDetailUlBody("detailTwoBody", userManageDetailTable, userInfos[0], 2);
	$("#stationName").html(userInfos[0].chargingStationName || '未获取到充电站信息');
	setTimeout(hideLoading, 500);
}

function goback() {
	window.parent.skipMenu('userManage/userManage', 'drownDown5', '', 'userPage', 'userMangeLi');
}
